package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-06-22
 * Time: 18:32
 */
public class Test01 {
    public static void main(String[] args) {
        Person person1 = new Person("张三",10,'男');
        Person person2 = new Person("张三", 10, '男');
        System.out.println(person1.equals(person2));
    }
    public static void main1(String[] args) {
        System.out.println("abc".equals("abcc"));
    }
}

